<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * CIBlog
 *
 * 使用codeigniter框架开发的一个博客。
 * 
 * @package     ciblog
 * @author      Eric
 * @copyright   Copyright (c) 2011 - 2012, Eric
 * @license     GNU General Public License 2.0
 * @link        http://www.hebaijun.com
 * @version     1.0
 */

 //----------------------------------------------------------

 /**
  * 文章控制器
  *
  * 后台文章的一些显示信息
  *
  * @package     ciblog
  * @subpackage  Controllers
  * @category    Admin Controllers
  * @author      Eric <baijun.he@163.com>
  * @link        http://www.hebaijun.com
  */
class Posts extends HT_Controller {

	/**
	 * 默认方法
	 *
	 * @access   public
	 * @return   void
	 */
	public function index()
	{
		$data['bloginfo'] = $this->option_m->load_all_options();
		$data['current_title'] = $this->lang->line('admin_all_posts').' - '.$this->lang->line('admin_title').' - '.$data['bloginfo']['blogname'];

		$data['current_location'] = 'admin_posts';
		
		//用户信息
		$users = $this->ion_auth->user()->result();
		$data['users'] = $users[0];

		//var_dump($data['users']);exit;

		$this->load->view('admin/posts', $data);
	}

}

/* End of file posts.php */
/* Location: ./application/controllers/admin/posts.php */